home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / filesy~1 / mfs609s.zoo / docs / fsck.doc < prev    next >
Encoding:
Text File  |  1993-11-25  |  2.0 KB  |  47 lines

  1. OK this is info about my pre-alpha version of fsck(8). It does all manner of
  2. horrible tests and should clear up most errors. Here is a brief summary of tests
  3. and actions taken.
  4.  
  5. Check Zones claimed more than once by inodes, and offer option of selective
  6. deletion of the zones (unlike BSD fsck it doesn't zap the inodes, so something
  7. at least should be recoverable), like most fsck's it currently goes mad if an
  8. indirection block is overwritten due to it being claimed by multiple inodes.
  9.  
  10. Check for bad '.' or '..' entries in directories and fix. Check for multiple
  11. hard links to directories. Check bad links (inode numbers out of range or links
  12. to free inodes) and fix.
  13.  
  14. Check Filesystem connectivity, allow reconnection of orphaned inodes in
  15. 'lost+found' directory.
  16.  
  17. Check link counts, altering as required.
  18.  
  19. Check inode and zone bitmaps and repair if needed.
  20.  
  21. Some other things I've probably forgotten.
  22.  
  23.     This could be a bit buggy, so be careful! In fact it could be a lot
  24. buggy so be *very* careful :-) 
  25.  
  26.     Usage is: fsck X: this allows interactive repair (i.e. prompts before
  27. trying anything clever). Also fsck -n X: which just finds errors and prohibits
  28. writing to the drive. fsck -y X: answers all the questions in interactive mode
  29. with 'y', this is not a recommended option yet ...
  30.  
  31.     Also a '-d X' option, where 'X' is the directory increment, this causes
  32. the checker to use 'X' as the directory increment for the filesystem in 
  33. question. Getting this wrong is a bad idea ... Without this option fsck
  34. determines this value for itself, which should be OK unless the root inode is
  35. severely trashed.
  36.  
  37.     fsck -R will trash the root inode and minixfs will recover the
  38. filesystem. Believe me, you DO NOT want to try this.
  39.  
  40.     '-s' prints summary info. '-S' prints out a bit more summary info.
  41.  
  42.     The option '-i' is an inode searcher. Follow it by a comma separated
  43. list of inode numbers and it should print out their pathnames.
  44.  
  45.     Let me know of any bugs, I specifically want to know if, after making
  46. all suggested repairs, it still indicates errors after rerunning.
  47.